<%-- 
    Document   : viewpartlist
    Created on : Aug 18, 2011, 9:37:52 PM
    Author     : s4201567 Tony Yu
--%>

<style>
    #users { margin-left:100px; }
    #users td { text-align:center; }
</style>

<%@ include file="../header.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <div id="content-container1">
        <div id="content">  
            <h3>Users in Participant List</h3>
            <form>
                <input type="button" onClick="window.location.href='editparticipantlist.html'" value="Add New Participant"/>
            </form>
            <div  id="users">
            <table bgcolor="f8f8ff" border="1" cellspacing="0" cellpadding="5">
                <tr><td>Participant ID's</td><td>Edit Participant ID Details</td></tr>
                <c:forEach items="${polls}" var="poll">   
                    <tr>
                        <td>${poll.getId()}</td>
                        <td><a href="<c:url value="./participantlistdetails.html?pid=${poll.getId()}"/>">Edit Details</a></td>
                    </tr>
                </c:forEach>
            </table>
            </div>
            <form>
                <input type="button" onClick="window.location.href='editparticipantlist.html'" value="Add New Participant"/><br/><br/>
                <input type="button" value="Back" onClick="javascript: history.go(-1)">
            </form>
        </div>
    </div>		
		
<%@ include file="../footer.jsp" %>

